<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>adminindex</title>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<style>
body{
	background-color: #EAEBE3;
}
</style>
<script language="javascript">
function submit_me()
{
	var company_name=document.getElementById("company_name").value;
	var address=document.getElementById("address").value;
	var email=document.getElementById("email").value;
	var tel=document.getElementById("tel").value;
	if(company_name=="")
	{
		window.alert("用户名不得为空!");
		return false;
	}
	if(address=="")
	{
		window.alert("密码不得为空！");
		return false;
	}
	if(email=="")
	{
		window.alert("密码不得为空！");
		return false;
	}
	if(tel=="")
	{
		window.alert("密码不得为空！");
		return false;
	}
	document.getElementById("form1").action="<%=request.getContextPath()%>/admin_update__company_info.do?method=admin_update__company_info";
	document.getElementById("form1").submit();
	}
</script>
</head>
<body>


<div class="admin_nei">
   <form id="form1" name="form1" method="post" action="">
  <input type="hidden" name="id" id="id" value="${PlaceView.id}"/>
<div class="xge">
  <div class="gt">   
    <div class="gtt">
   <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a0a297">
     <tr>
       <td bgcolor="#eaebe3">联系方式添加 </td>
       </tr>
   </table>
   <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#E6E6E6" id="admintxt">
     <tr>
       <td width="14%" align="right" bgcolor="#FFFFFF">名称：</td>
       <td width="86%" bgcolor="#FFFFFF"><input type="text" name="company_name" id="company_name" value="${PlaceView.company_name}"/></td>
       </tr>
     <tr>
       <td align="right" bgcolor="#FFFFFF">地址：</td>
       <td bgcolor="#FFFFFF"><input name="address" type="text" id="address"  value="${PlaceView.address}"/></td>
     </tr>
      <tr>
       <td align="right" bgcolor="#FFFFFF">email：</td>
       <td bgcolor="#FFFFFF"><input type="text" name="email" id="email" value="${PlaceView.email}"/></td>
     </tr>
      <tr>
       <td align="right" bgcolor="#FFFFFF">电话：</td>
       <td bgcolor="#FFFFFF"><input type="text" name="tel" id="tel" value="${PlaceView.tel}"/></td>
     </tr>
     <tr>
       <td bgcolor="#FFFFFF">&nbsp;</td>
       <td bgcolor="#FFFFFF"><input type="submit" name="button" id="button" value=" 提交 " onclick="submit_me()"/></td>
     </tr>
   </table>
 </div>
    
    
    
    
    </div>
  
</div>
</form>
</div>







</body>
</html>
